package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.RInappMain;
import com.isunland.managesystem.entity.RInappSub;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/7/18 17:02
 */
public class InMaterieDetailActivity extends SingleFragmentActivity {
  @Override protected Fragment createFragment() {
    RInappMain inMain =
        (RInappMain) getIntent().getSerializableExtra(InMaterieDetailFragment.EXTRA_MAIN_CONTENT);
    RInappSub inSub =
        (RInappSub) getIntent().getSerializableExtra(InMaterieDetailFragment.EXTRA_SUB_CONTENT);
    return InMaterieDetailFragment.newInstance(inMain, inSub);
  }
}
